import { createSlice } from "@reduxjs/toolkit";

export const leftBarStatusSlice = createSlice({
  name: "leftBarStatus",
  initialState: {
    show: true
  },
  reducers: {
    setShow: (state, action) => {
        state.show = action.payload;
    },
  }
});

export const { setShow } = leftBarStatusSlice.actions;
export default leftBarStatusSlice.reducer;